<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<load href="__STYLE__/admincp.css" />
<load href="__PUBLIC__/Js/jquery.core.js" />
<load href="__PUBLIC__/Js/jquery.blockUI.js" />
<load href="__STYLE__/tablesorter.css" />
<load href="__PUBLIC__/Js/jquery.tablesorter.js" />
<script type="text/javascript">

var APP = '__APP__';
var SITE_URL = '{$_global.site_url}';
var LOGIN_URL = '{:U("Admin-Public/login")}';
var UID = '{$_admin.user_id}';
var LANG = {$jsLangPackage};
var _STYLE_ = '__STYLE__';

$.blockUI.defaults.css = {};

autoNav();

function autoNav(){
    var parent = $(window.parent.document);
    var nav = parent.find('#adminnav');
    var header = parent.find('li.navon>em>a');
    var headerTitle = header.text();
    var headerID = header.attr('id').substring(4);
    var menuTitle = parent.find('#menu_'+ headerID +'>li>a.tabon').text();
    var subTitle = $('li.current>a>span').text();
    var html = headerTitle +'&nbsp;&raquo;&nbsp;'+ menuTitle; 
    if(subTitle){
       html += '&nbsp;&raquo;&nbsp;'+ subTitle; 
    }
    nav.html(html);
}
</script>
<load href="__STYLE__/admincp.js" />
</head>
<body>
<div id="append_parent"></div>